<?php
class Tourism_goods_brand_model extends CI_Model
{
    private $table   = 'tourism_goods_brand';
    private $table_2   = 'tourism_goods_category';

    public function findByCategoryId($categoryId){
        $this->db->where('category_id',$categoryId);
        return $this->db->get($this->table);
    }

}